from django.conf.urls import url
from data_vis import views

urlpatterns = [
    url(r'^bar1/$', views.ChartView.as_view(), name='data_vis'),
    url(r'^bar_chart/$', views.IndexView.as_view(), name='data_vis'),
    url(r'get_barDate/$', views.get_barDate, name='get_barDate'),
    url(r'bar/$', views.bar, name='bar'),  # 柱状图
    url(r'save_barfile/$', views.save_barfile, name='save_barfile'),  # 上传bar数据集
    url(r'save_kfile/$', views.save_kfile, name='save_kfile'),  # 上传k数据集
    url(r'save_rfile/$', views.save_rfile, name='save_rfile'),  # 上传雷达图数据集
    url(r'save_scatterFile/$', views.save_scatterFile, name='save_scatterFile'),  # 上传k数据集
    url(r'save_wordCloudfile/$', views.save_wordCloudfile, name='save_wordCloudfile'),  # 上传词云图数据集
    url(r'box/$', views.box, name='box'),  # 箱型图
    url(r'k_chart/$', views.k_chart, name='k_chart'),  # K线图
    url(r'line/$', views.line, name='line'),  # 折线图
    url(r'funnel/$', views.funnel, name='funnel'),  # 漏斗图
    url(r'pie/$', views.pie, name='pie'),  # 饼图
    url(r'calendar/$', views.calendar, name='calendar'),  # 日历图
    url(r'radar/$', views.radar, name='radar'),  # 雷达图
    url(r'threeD_bar/$', views.threeD_bar, name='threeD_bar'),  # 3D柱状图
    url(r'threeD_Line/$', views.threeD_Line, name='threeD_Line'),  # 3D折线图
    url(r'threeD_scatter/$', views.threeD_scatter, name='threeD_scatter'),  # 3D散点图
    url(r'scatter/$', views.scatter, name='scatter'),  # 散点图
    url(r'wordCloud/$', views.wordCloud, name='wordCloud'),  # 词云图
]
